package com.martin.study.create_instance.test;

import com.martin.study.create_instance.bean.Emp;
import org.springframework.beans.factory.annotation.Autowired;

public class AutowireByNameBean {


	@Autowired
	private Emp xxx;

	public void say(){
		System.out.println(xxx);
	}

	public void setXxx(Emp xxx) {
		this.xxx = xxx;
	}

}
